<template>
  <div>
    <div>
      <ul>
        <li v-for=" u in $store.state.usersList" :key="u.id">{{u.username}}</li>
      </ul>
    </div>
    <button @click="$store.dispatch('getUsers')">getUsers</button>
  </div>
</template>
<script>
export default {
  
}
</script>

<style>
div {
  padding: 10px;
  margin: 10px;
  border: solid;
}
</style>